//
//  Man.h
//  07-内存管理
//
//  Created by dllo on 16/7/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Gay.h"
// 签订协议,在类集成后<>中添加协议,如果有多个,分割
@interface Man : NSObject<Gay,NSCopying>
// name 修饰
@property (nonatomic,retain) NSString *name;
@property (nonatomic,retain) NSString *sexual;
@property (nonatomic,retain) Man *gayBoy;
@property (nonatomic,copy) NSString *mId; // 定义变量名不要和系统名重名
// copy 修饰
@property (nonatomic,copy) NSString *mDescription;
// assign 修饰
@property (nonatomic,assign) NSInteger number;
@end
